package com.yk.govpro.service.noticeList.api;

import com.yk.govpro.model.NoticelistEntity;
import org.json.JSONObject;

import java.text.ParseException;
import java.util.List;

/**
 * Created by zsyoung on 2017/5/19.
 */
public interface INoticeListCrawlerService {
    List<String> getDetailIDList(String url);


    List<JSONObject> getNoticeList(String url);

   List<NoticelistEntity> transform(JSONObject jsonObject) throws ParseException;

    List<NoticelistEntity> transform(List<JSONObject> jsonObjects) throws ParseException;

    void saveNoticeList(NoticelistEntity noticelistEntity);

    void saveNoticeList(List<NoticelistEntity> noticelistEntityLists);
}
